class AddConstructBean {
  int? id;
  int? customerInfoId;
  int? saveOrSubmit;
  String? materialsEntranceDate;
  String? startDate;
  String? address;
  String? addressLongitude;
  String? addressLatitude;
  String? constructionUser;
  String? safetyUser;
  String? componentNumber;
  String? endDate;
  String? remarks;
  List<int>? inverterPhoto;
  List<int>? resistancePhoto;
  List<int>? voltagePhoto;
  List<int>? other;
  List<int>? materialsEntrancePhoto;
  List<int>? classMeetingPhoto;
  List<int>? safetyProtectionPhoto;
  List<int>? stentInstallPhoto;
  List<int>? componentInstallPhoto;
  List<int>? inverterInstallPhoto;
  List<int>? stentInstallGround;
  List<int>? inverterInstallGround;
  List<int>? cableLayingPhoto;
  List<int>? componentFinishPhoto;

  AddConstructBean(
      {this.id,
      this.customerInfoId,
      this.materialsEntranceDate,
      this.materialsEntrancePhoto,
      this.classMeetingPhoto,
      this.safetyProtectionPhoto,
      this.stentInstallPhoto,
      this.componentInstallPhoto,
      this.inverterInstallPhoto,
      this.stentInstallGround,
      this.inverterInstallGround,
      this.cableLayingPhoto,
      this.componentFinishPhoto,
      this.startDate,
      this.address,
      this.addressLongitude,
      this.addressLatitude,
      this.constructionUser,
      this.safetyUser,
      this.inverterPhoto,
      this.componentNumber,
      this.endDate,
      this.remarks,
      this.resistancePhoto,
      this.voltagePhoto,
      this.other,this.saveOrSubmit});

  AddConstructBean.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    customerInfoId = json['customerInfoId'];

    inverterPhoto = json['inverterPhoto'];
    resistancePhoto = json['resistancePhoto'];
    voltagePhoto = json['voltagePhoto'];
    other = json['other'];
    materialsEntrancePhoto = json['materialsEntrancePhoto'];
    classMeetingPhoto = json['classMeetingPhoto'];
    safetyProtectionPhoto = json['safetyProtectionPhoto'];
    componentInstallPhoto = json['componentInstallPhoto'];
    safetyProtectionPhoto = json['safetyProtectionPhoto'];
    stentInstallPhoto = json['stentInstallPhoto'];
    inverterInstallPhoto = json['inverterInstallPhoto'];
    stentInstallGround = json['stentInstallGround'];
    inverterInstallGround = json['inverterInstallGround'];
    cableLayingPhoto = json['cableLayingPhoto'];
    startDate = json['startDate'];
    address = json['address'];
    addressLongitude = json['addressLongitude'];
    addressLatitude = json['addressLatitude'];
    constructionUser = json['constructionUser'];
    safetyUser = json['safetyUser'];
    componentNumber = json['componentNumber'];
    endDate = json['endDate'];
    remarks = json['remarks'];
    saveOrSubmit = json['saveOrSubmit'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['customerInfoId'] = this.customerInfoId;
    data['materialsEntranceDate'] = this.materialsEntranceDate;
    data['inverterPhoto'] = this.inverterPhoto;
    data['other'] = this.other;
    data['resistancePhoto'] = this.resistancePhoto;
    data['voltagePhoto'] = this.voltagePhoto;
    data['materialsEntrancePhoto'] = this.materialsEntrancePhoto;
    data['classMeetingPhoto'] = this.classMeetingPhoto;
    data['safetyProtectionPhoto'] = this.safetyProtectionPhoto;
    data['inverterInstallPhoto'] = this.inverterInstallPhoto;
    data['stentInstallPhoto'] = this.stentInstallPhoto;
    data['componentInstallPhoto'] = this.componentInstallPhoto;
    data['stentInstallGround'] = this.stentInstallGround;
    data['inverterInstallGround'] = this.inverterInstallGround;
    data['cableLayingPhoto'] = this.cableLayingPhoto;
    data['componentFinishPhoto'] = this.componentFinishPhoto;
    data['address'] = this.address;
    data['addressLongitude'] = this.addressLongitude;
    data['addressLatitude'] = this.addressLatitude;
    data['constructionUser'] = this.constructionUser;
    data['safetyUser'] = this.safetyUser;
    data['componentNumber'] = this.componentNumber;
    data['endDate'] = this.endDate;
    data['startDate'] = this.startDate;
    data['remarks'] = this.remarks;
    data['voltagePhoto'] = this.voltagePhoto;
    data['resistancePhoto'] = this.resistancePhoto;
    data['saveOrSubmit'] = this.saveOrSubmit;
    return data;
  }
}
